package com.leyou.auth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

//ly-Auth启动类
@MapperScan("com.leyou.auth.mapper")
@EnableEurekaClient
@SpringBootApplication(scanBasePackages = {"com.leyou", "com.leyou.common.advice"})//包扫描缺失！！！
public class LyAuthApplication {
    public static void main(String[] args) {

        SpringApplication.run(LyAuthApplication.class, args);
    }
}
